/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.jrcrm.entity.cms;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @ClassName: ChannelCost
 * @Description: 来源渠道成本管理
 * @author 汤宏
 * @date 2017年11月20日15:00:00
 *
 */
@Entity
@Table(name = "cms_channel_cost")
public class ChannelCost extends BaseEntity {

	private static final long serialVersionUID = -4042243814253182240L;

	/**
	 * 来源渠道CODE，取字典
	 */
	@Column(name = "channel_code")
	private String channelCode;
	/**
	 * 来源渠道名称，取字典
	 */
	@Column(name = "channel_name")
	private String channelName;
	/**
	 *成本方式，取字典，JSCB计算成本，YJTC业绩提成
	 */
	@Column(name = "cost_type")
	private String costType;

	/**
	 * 成本
	 */
	@Column(name = "cost")
	private Integer cost;

	/**
	 *商务可见，1可见，0不可见
	 */
	@Column(name = "is_view")
	private Integer isView;
	/**
	 *状态，1启用，0禁用
	 */
	@Column(name = "status")
	private Integer status;
	/**
	 *备注
	 */
	@Column(name = "remark")
	private String remark;

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}

	public String getCostType() {
		return costType;
	}

	public void setCostType(String costType) {
		this.costType = costType;
	}

	public Integer getIsView() {
		return isView;
	}

	public void setIsView(Integer isView) {
		this.isView = isView;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public Integer getCost() {
		return cost;
	}

	public void setCost(Integer cost) {
		this.cost = cost;
	}
}
